CreateFixedReferenceSweptGeometry
Version comparisonPer-version detail
Click a version below to see what changed in that release vs your current frame (2027).
2027
current
GeometryCreationUtilities.CreateFixedReferenceSweptGeometry(CurveLoop, Int32, Double, IList<CurveLoop>, XYZ, SolidOptions)
| sweepPath | CurveLoop | The sweep path, consisting of a set of contiguous curves. The path may be open or closed, but should not otherwise have any self-intersections. The path may be planar or non-planar. With the exception of path curves that lie in a plane parallel to %fixedReferenceDirection%, the curve's tangent should be nowhere parallel to %fixedReferenceDirection%. If the sweep path has corners, the solid segments that meet at a corner may not meet smoothly. |
| pathAttachmentCrvIdx | Int32 | The index of the curve in the sweep path where the profile loops are situated. Indexing starts at 0. Together with pathAttachmentParam, this specifies the profile's attachment point. |
| pathAttachmentParam | Double | Parameter of the path curve specified by pathAttachmentCrvIdx. The profile curves must lie in the plane orthogonal to the path at this attachment point. |
| profileLoops | IList<CurveLoop> | The curve loops defining the planar domain to be swept along the path. No conditions are imposed on the orientations of the loops; this function will use copies of the input loops that have been oriented as necessary to conform to Revit's orientation conventions. Restrictions: <ul><li>The loops must lie in the plane orthogonal to the path at the attachment point as defined above. </li><li>The curve loop(s) must be closed and should define a single planar domain (one outer loop and, optionally, one or more inner loops). </li><li>The curve loops must be without intersections, self-intersections, or degeneracies. </li><li>No loop may contain just one closed curve - split such loops into two or more curves beforehand. </li></ul> |
| fixedReferenceDirection | XYZ | A unit vector specifying the fixed direction used to control how the profile plane is swept along the path; see the description and remarks above. The profile CurveLoops do not satisfy the input requirements. |
| solidOptions | SolidOptions | The optional information to control the properties of the Solid. |
| → returns | Solid | The requested solid. |
GeometryCreationUtilities.CreateFixedReferenceSweptGeometry(CurveLoop, Int32, Double, IList<CurveLoop>, XYZ, SolidOptions)
| sweepPath | CurveLoop | The sweep path, consisting of a set of contiguous curves. The path may be open or closed, but should not otherwise have any self-intersections. The path may be planar or non-planar. With the exception of path curves that lie in a plane parallel to %fixedReferenceDirection%, the curve's tangent should be nowhere parallel to %fixedReferenceDirection%. If the sweep path has corners, the solid segments that meet at a corner may not meet smoothly. |
| pathAttachmentCrvIdx | Int32 | The index of the curve in the sweep path where the profile loops are situated. Indexing starts at 0. Together with pathAttachmentParam, this specifies the profile's attachment point. |
| pathAttachmentParam | Double | Parameter of the path curve specified by pathAttachmentCrvIdx. The profile curves must lie in the plane orthogonal to the path at this attachment point. |
| profileLoops | IList<CurveLoop> | The curve loops defining the planar domain to be swept along the path. No conditions are imposed on the orientations of the loops; this function will use copies of the input loops that have been oriented as necessary to conform to Revit's orientation conventions. Restrictions: <ul><li>The loops must lie in the plane orthogonal to the path at the attachment point as defined above. </li><li>The curve loop(s) must be closed and should define a single planar domain (one outer loop and, optionally, one or more inner loops). </li><li>The curve loops must be without intersections, self-intersections, or degeneracies. </li><li>No loop may contain just one closed curve - split such loops into two or more curves beforehand. </li></ul> |
| fixedReferenceDirection | XYZ | A unit vector specifying the fixed direction used to control how the profile plane is swept along the path; see the description and remarks above. The profile CurveLoops do not satisfy the input requirements. |
| solidOptions | SolidOptions | The optional information to control the properties of the Solid. |
| → returns | Solid | The requested solid. |
GeometryCreationUtilities.CreateFixedReferenceSweptGeometry(CurveLoop, Int32, Double, IList<CurveLoop>, XYZ, SolidOptions)
| sweepPath | CurveLoop | The sweep path, consisting of a set of contiguous curves. The path may be open or closed, but should not otherwise have any self-intersections. The path may be planar or non-planar. With the exception of path curves that lie in a plane parallel to %fixedReferenceDirection%, the curve's tangent should be nowhere parallel to %fixedReferenceDirection%. If the sweep path has corners, the solid segments that meet at a corner may not meet smoothly. |
| pathAttachmentCrvIdx | Int32 | The index of the curve in the sweep path where the profile loops are situated. Indexing starts at 0. Together with pathAttachmentParam, this specifies the profile's attachment point. |
| pathAttachmentParam | Double | Parameter of the path curve specified by pathAttachmentCrvIdx. The profile curves must lie in the plane orthogonal to the path at this attachment point. |
| profileLoops | IList<CurveLoop> | The curve loops defining the planar domain to be swept along the path. No conditions are imposed on the orientations of the loops; this function will use copies of the input loops that have been oriented as necessary to conform to Revit's orientation conventions. Restrictions: <ul><li>The loops must lie in the plane orthogonal to the path at the attachment point as defined above. </li><li>The curve loop(s) must be closed and should define a single planar domain (one outer loop and, optionally, one or more inner loops). </li><li>The curve loops must be without intersections, self-intersections, or degeneracies. </li><li>No loop may contain just one closed curve - split such loops into two or more curves beforehand. </li></ul> |
| fixedReferenceDirection | XYZ | A unit vector specifying the fixed direction used to control how the profile plane is swept along the path; see the description and remarks above. The profile CurveLoops do not satisfy the input requirements. |
| solidOptions | SolidOptions | The optional information to control the properties of the Solid. |
| → returns | Solid | The requested solid. |
GeometryCreationUtilities.CreateFixedReferenceSweptGeometry(CurveLoop, Int32, Double, IList<CurveLoop>, XYZ, SolidOptions)
| sweepPath | CurveLoop | The sweep path, consisting of a set of contiguous curves. The path may be open or closed, but should not otherwise have any self-intersections. The path may be planar or non-planar. With the exception of path curves that lie in a plane parallel to %fixedReferenceDirection%, the curve's tangent should be nowhere parallel to %fixedReferenceDirection%. If the sweep path has corners, the solid segments that meet at a corner may not meet smoothly. |
| pathAttachmentCrvIdx | Int32 | The index of the curve in the sweep path where the profile loops are situated. Indexing starts at 0. Together with pathAttachmentParam, this specifies the profile's attachment point. |
| pathAttachmentParam | Double | Parameter of the path curve specified by pathAttachmentCrvIdx. The profile curves must lie in the plane orthogonal to the path at this attachment point. |
| profileLoops | IList<CurveLoop> | The curve loops defining the planar domain to be swept along the path. No conditions are imposed on the orientations of the loops; this function will use copies of the input loops that have been oriented as necessary to conform to Revit's orientation conventions. Restrictions: <ul><li>The loops must lie in the plane orthogonal to the path at the attachment point as defined above. </li><li>The curve loop(s) must be closed and should define a single planar domain (one outer loop and, optionally, one or more inner loops). </li><li>The curve loops must be without intersections, self-intersections, or degeneracies. </li><li>No loop may contain just one closed curve - split such loops into two or more curves beforehand. </li></ul> |
| fixedReferenceDirection | XYZ | A unit vector specifying the fixed direction used to control how the profile plane is swept along the path; see the description and remarks above. The profile CurveLoops do not satisfy the input requirements. |
| solidOptions | SolidOptions | The optional information to control the properties of the Solid. |
| → returns | Solid | The requested solid. |
GeometryCreationUtilities.CreateFixedReferenceSweptGeometry(CurveLoop, Int32, Double, IList<CurveLoop>, XYZ, SolidOptions)
| sweepPath | CurveLoop | The sweep path, consisting of a set of contiguous curves. The path may be open or closed, but should not otherwise have any self-intersections. The path may be planar or non-planar. With the exception of path curves that lie in a plane parallel to %fixedReferenceDirection%, the curve's tangent should be nowhere parallel to %fixedReferenceDirection%. If the sweep path has corners, the solid segments that meet at a corner may not meet smoothly. |
| pathAttachmentCrvIdx | Int32 | The index of the curve in the sweep path where the profile loops are situated. Indexing starts at 0. Together with pathAttachmentParam, this specifies the profile's attachment point. |
| pathAttachmentParam | Double | Parameter of the path curve specified by pathAttachmentCrvIdx. The profile curves must lie in the plane orthogonal to the path at this attachment point. |
| profileLoops | IList<CurveLoop> | The curve loops defining the planar domain to be swept along the path. No conditions are imposed on the orientations of the loops; this function will use copies of the input loops that have been oriented as necessary to conform to Revit's orientation conventions. Restrictions: <ul><li>The loops must lie in the plane orthogonal to the path at the attachment point as defined above. </li><li>The curve loop(s) must be closed and should define a single planar domain (one outer loop and, optionally, one or more inner loops). </li><li>The curve loops must be without intersections, self-intersections, or degeneracies. </li><li>No loop may contain just one closed curve - split such loops into two or more curves beforehand. </li></ul> |
| fixedReferenceDirection | XYZ | A unit vector specifying the fixed direction used to control how the profile plane is swept along the path; see the description and remarks above. The profile CurveLoops do not satisfy the input requirements. |
| solidOptions | SolidOptions | The optional information to control the properties of the Solid. |
| → returns | Solid | The requested solid. |